package com.huitu.whht.base.core.api.wr.ph.entities;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import com.huitu.whht.api.core.common.base.BaseEntity;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeDeserializer;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeSerializer;
import java.time.LocalDateTime;

/**
 * 说明: PH测定仪传感器基本信息表实体类,表名称: WR_PH_B <br/>
 * 日期: 2019-04-15
 * @author LiuCW
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WrPhB extends  BaseEntity {

private static final long serialVersionUID = 4L;
    public WrPhB(){

    }

    /**
      * 传感器代码
      */
    public String sensCd;
    /**
      * PH测定仪测量上限
      */
    public Double phMax;
    /**
      * PH测定仪测量下限
      */
    public Double phMin;
    /**
      * PH测定仪分辨力
      */
    public Double phRes;
    /**
      * PH测定仪最大误差
      */
    public Double phMaxErr;
    /**
      * 时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime ts;
    /**
      * 备注
      */
    public String nt;
}